package com.hellogood.yaohuo.shared.services;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hellogood.yaohuo.shared.entity.Size;

@RemoteServiceRelativePath("SizeService")
public interface SizeService extends RemoteService{
	public static class Util{
		private static SizeServiceAsync instance;
		
		public static SizeServiceAsync getInstance(){
			if(instance==null){
				instance = GWT.create(SizeService.class);
			}
			return instance;
		}
	}
	
	public List<Size> getAllSizeList();
}
